package com.test.jdk;

/**
 * Created by houjinxin on 16/9/26.
 */
public class JavaVMStackOF{

    private int stackLength = 1;
    public void stackLeak(){
        stackLength++;
        stackLeak();
    }
    public static void main(String[] args){

        JavaVMStackOF oom = new JavaVMStackOF();
        oom.stackLeak();

    }

}
